Skip to content

Conversation

@gohkhoonhiang
Copy link
Collaborator

Background

Creating this PR to document why we reverted to this commit.

The addition from this commit broke race conditions handling.

Through a simple Rails app setup, it shows that introducing ActiveRecordPoolControl caused 2 instances of LoadInterlockAwareMonitor to be created, and cannot effectively synchronise multiple threads accessing the same DB rows.

To unblock our ruby3 upgrade, we will revert back to the commit that has worked before the introducing of the ActiveRecordPoolControl class.

Commits cherry-picked from upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants